home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Languages / Quick C 2.0 / INCLUDE / SYS / TIMEB.H < prev    next >
Encoding:
C/C++ Source or Header  |  1988-12-05  |  740 b   |  39 lines

  1. /***
  2. *sys\timeb.h - definition/declarations for ftime()
  3. *
  4. *    Copyright (c) 1985-1989, Microsoft Corporation.  All rights reserved.
  5. *
  6. *Purpose:
  7. *    This file define the ftime() function and the types it uses.
  8. *    [System V]
  9. *
  10. ****/
  11.  
  12.  
  13. #ifndef NO_EXT_KEYS    /* extensions enabled */
  14.     #define CDECL    cdecl
  15. #else            /* extensions not enabled */
  16.     #define CDECL
  17. #endif /* NO_EXT_KEYS */
  18.  
  19. #ifndef _TIME_T_DEFINED
  20. typedef long time_t;
  21. #define _TIME_T_DEFINED
  22. #endif
  23.  
  24. /* structure returned by ftime system call */
  25.  
  26. #ifndef    _TIMEB_DEFINED
  27. struct timeb {
  28.     time_t time;
  29.     unsigned short millitm;
  30.     short timezone;
  31.     short dstflag;
  32.     };
  33. #define    _TIMEB_DEFINED
  34. #endif
  35.  
  36. /* function prototypes */
  37.  
  38. void CDECL ftime(struct timeb *);
  39.